<!--  -->
<template>
  <div class="nav-bar">
    <div class="left"><slot name="left"></slot></div>
    <div class="center"><slot name="center"></slot></div>
    <div class="right"><slot name="right"></slot></div>
  </div>
</template>

<script>
export default {
  data () {
    return {
    };
  },

  components: {},

  computed: {},

  mounted(){},

  methods: {}
}

</script>
<style lang='scss' scoped>
.nav-bar{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height:44px;
    display: flex;
    border-bottom: 1px solid #ccc;
}

.left,.right{
   width: 60px;
}
.center{
    flex: 1;
    text-align: center;
    line-height: 44px;
    font-size: 16px;
}
</style>